<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="bjui-pageContent">
	<c:if test="${empty info.id}">
	<form action="<%=request.getContextPath()%>/t/role/insert.do" data-toggle="validate" data-reload-navtab="true">
	</c:if>
	<c:if test="${not empty info.id}">
	<form action="<%=request.getContextPath()%>/t/role/update.do" data-toggle="validate" data-reload-navtab="true">
		<input type="hidden" name="id" value="${info.id}">
	</c:if>
        <div class="pageFormContent" data-layout-h="0">
            <table class="table table-condensed table-hover" width="100%">
                <tbody>
					<tr>
					 	<td colspan="2">
	                        <label class="control-label x100">角色编号：</label>
	                        <input type="text" name="roleCode" value="${info.roleCode}" size="60">
	                    </td>
		    		</tr>
					<tr>
					 	<td colspan="2">
	                        <label class="control-label x100">角色名称：</label>
	                        <input type="text" name="roleName" value="${info.roleName}" size="60">
                    	</td>
		    		</tr>
                </tbody>
            </table>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div>